#ifndef NFCAPIBRIDGESERVER_H
#define NFCAPIBRIDGESERVER_H

#include <e32base.h>

#include "scatu/Api.h"
#include "scatu/Server.h"
#include "scatu/ServerBase.h"

class CNfcApiBridgeSession;
class CNfcEngine;

class CNfcApiBridgeServer : public scatu::CServerBase<CNfcApiBridgeServer, CNfcApiBridgeSession>
    {
public:
     ~CNfcApiBridgeServer();
    
     CNfcEngine & Engine() const { return *iEngine; }
     
private:
    void ConstructL();
    
    CNfcEngine * iEngine;
    };

class CNfcApiBridgeSession : public scatu::CSessionBase<CNfcApiBridgeServer >
    {
public:
    void PopulateRequestArrayL(scatu::RServerRequestArray & aArray);
    
private:
    scatu::Api<scatu::EServer> iApi;
    };

#endif // NFCAPIBRIDGESERVER_H
